package com.deng.heney.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @author: dengmeng
 * @date: 2024/9/7 11:47
 */
@Getter
@Setter
//@TableName("sys_user")
//@ApiModel(value = "User对象", description = "")
@ToString
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

//    @ApiModelProperty("id")
//    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

//    @ApiModelProperty("用户名")
    private String username;

//    @ApiModelProperty("密码")
    private String password;

//    @ApiModelProperty("昵称")
    private String nickname;

    private String name;

//    @ApiModelProperty("邮箱")
    private String email;

//    @ApiModelProperty("电话")
    private String phone;

//    @ApiModelProperty("地址")
    private String address;

//    @ApiModelProperty("创建时间")
    private Date createTime;

//    @ApiModelProperty("头像")
    private String avatarUrl;

//    @ApiModelProperty("角色")
    private String role;

    private String avater;
}
